Skip to content

Sébastien Laurent commit tutorials Chapter 1 -> 4#1175

Open
selau-odoo wants to merge 4 commits intoodoo:19.0from
odoo-dev:19.0-tutorials-selau
Open

Sébastien Laurent commit tutorials Chapter 1 -> 4#1175
selau-odoo wants to merge 4 commits intoodoo:19.0from
odoo-dev:19.0-tutorials-selau

Conversation

@selau-odoo
Copy link

Please accept it

@robodoo
Copy link

robodoo commented Feb 16, 2026

Pull request status dashboard

@AlessandroLupo AlessandroLupo self-requested a review February 16, 2026 15:29
Copy link

@AlessandroLupo AlessandroLupo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work! Just a few comments 👍

@@ -0,0 +1 @@
from . import estate_property No newline at end of file

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please terminate every file with an empty line :)

_description = "This is my first model"

name = fields.Char(required=True)
description = fields.Text()

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is not mandatory, but if you want you can add the string argument to every fields method, to describe that field (like you did for garden_orientation)

@@ -0,0 +1,6 @@
{
'name': 'Estate',

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you don't specify a license, you will get a warning in your console when you launch Odoo

'name': 'Estate',
'depends': ['base'],
'application': True,
'data': ['security/ir.model.access.csv']

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here you refer to the file ir.model.access.csv, but this file is created in the next commit. Try to move this line to the next commit too. (Feel free to ask for help with git if you need 😄 )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants